<?php 
Class User{
  private $id;
  private $username;
  private $password;
  private $realname;
  private $email;
  
  //id
  public function getId(){
    return $this->id;    
  }
  
  public function setId($id){
    $this->id = $id;
  }
  
  //username
  
  public function getUsername(){
    return $this->username;
  }
  public function setUsername($username){
    $this->username = $username;
  }
  //psw
  public function getPassword(){
    return $this->password;
  }
  
  public function setPassword($password){
    $this->password=$password;
  }
  
  //realname
  public function getRealname(){
    return $this->realname;
  }
  public function setRealname($realname){
    $this->realname = $realname;
  }
  
  //email
  public function getEmail(){
    return $this->email;
  }
  
  public function setEmail($email){
    $this->email = $email;
  }
  
}
?>